package com.ljs.libackendmodel.model.dto.question;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 更新请求
 *
 * @author <a href="https://github.com/liljs">程序员鱼皮</a>
 * @from <a href="https://ljs.icu">编程导航知识星球</a>
 */
@Data
public class QuestionUpdateRequest implements Serializable {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 标题
     */
    private String title;

    /**
     * 内容
     */
    private String content;

    /**
     * 标签列表（json 数组）
     */
    private List<String> tags;

    /**
     * 题目答案
     */
    private String answer;

    /**
     * 判断用例(json数组)
     */
    private List<QuestionJudgeCase> judgeCase;
    /**
     * 判断配置
     */
    private QuestionJudgeConfig judgeConfig;
    private static final long serialVersionUID = 1L;
}
